package org.scboy.utils.entitys.coobi;

import java.io.Serializable;
import java.util.List;

public class DataAlterTable implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4552738648324036560L;

	/**
	 * 改变数据时，当前操作的用户会话
	 */
	private String token;

	/**
	 * 改变数据时，当前操作的用户ID
	 */
	private String userId;

	/**
	 * 改变数据时，当前操作的用户姓名
	 */
	private String userName;

	/**
	 * 改变数据时，当前操作的用户组织ID
	 */
	private String orgId;
	
	/**
	 * 请求链路ID
	 */
	private String requestId;
	
	/**
	 * 改变数据时，执行的SQL
	 */
	private String exeSql;
	
	/**
	 * 改变数据时，SQL的参数
	 */
	private Object [] params;
	
	/**
	 * 数据变更时表名称
	 */
	private String tableName;

	/**
	 * 数据变更时表说明
	 */
	private String comment;
	
	/**
	 * 数据表更列情况
	 */
	private List<DataAlterColumn> columns;
	
	private List<DataAlterColumn> primary;

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getRequestId() {
		return requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public String getExeSql() {
		return exeSql;
	}

	public void setExeSql(String exeSql) {
		this.exeSql = exeSql;
	}

	public Object[] getParams() {
		return params;
	}

	public void setParams(Object[] params) {
		this.params = params;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public List<DataAlterColumn> getColumns() {
		return columns;
	}

	public void setColumns(List<DataAlterColumn> columns) {
		this.columns = columns;
	}

	public List<DataAlterColumn> getPrimary() {
		return primary;
	}

	public void setPrimary(List<DataAlterColumn> primary) {
		this.primary = primary;
	}
	
}
